package com.xms.event.core;

import org.springframework.context.ApplicationEvent;

/**
 * <p>
 * 对象创建后事件
 * </p>
 *
 * @author migo
 * @since 2021/9/26
 */
/*public class ObjectCreatedEvent<T> implements IEvent {
    public ObjectCreatedEvent(T $source) {
        source = $source;
    }

    public T source;
}*/

public class ObjectCreatedEvent<T> extends ApplicationEvent {

    public T source;

    public ObjectCreatedEvent(T source) {
        super(source);
        this.source = source ;
    }
}